package entity

// mysql session support need create table as sql:
/*CREATE TABLE test.`session` (
`session_key` char(64) NOT NULL,
`session_data` blob,
`session_expiry` int(11) unsigned NOT NULL,
PRIMARY KEY (`session_key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;*/
/*

type Session struct{
	SessionKey        string `json:"sessionKey"orm:"pk"`
	SessionData	   Blob `json:"sessionData"`
	SessionExpiry      int16 `json:"sessionExpiry"`
}

// 设置引擎为 MyISAM
func (m *Session) TableEngine() string {
	return "MyISAM"
}
*/



